<?php
/**
 * 修改自己密码模板
 */

use common\widgets\FormTable;
use common\widgets\ActiveForm;

$this->title = '修改密码';

$form = ActiveForm::begin();

echo FormTable::widget([
    'model' => $model,
    'form' => $form,
    'rows' => [
        'oldPass' => ['type'=>FormTable::INPUT_PASSWORD],
        'adminPass' => ['type'=>FormTable::INPUT_PASSWORD],
        'repeatPass' => ['type'=>FormTable::INPUT_PASSWORD],
    ]
]);

ActiveForm::end();
